Volume Function
Returns a FolderItem that represents a mounted volume.
Syntax
result = Volume( VolumeNumber )
Parameters | ||
VolumeNumber |
The number of the volume you require a FolderItem for. |
Notes
The Volume function returns a FolderItem that represents the mounted volume whose number was passed. Volume zero is the boot volume. This function can be used in conjunction with the VolumeCount function to loop through the mounted volumes.
Examples
This example places the names of all mounted volumes into a ListBox control:
The following example returns a FolderItem for the "Documents" folder on the user's boot volume.
See Also
VolumeCount function; FolderItem class.